home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _403F436B83FE4E39899BE61F5AEAA4E6 < prev    next >
Encoding:
Text File  |  2006-08-04  |  836 b   |  31 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.00'
  10.         }
  11.  
  12. def Swatch_SetMaterial():
  13.     return {
  14.         'IsPrimary': App.Constants.Boolean.true, 
  15.         'NewMaterial': {
  16.             'Color': None, 
  17.             'Pattern': {
  18.                 'Name': 'Corel_08_006', 
  19.                 'Image': None, 
  20.                 'Angle': 0.000000, 
  21.                 'Scale': 100.000000
  22.                 }, 
  23.             'Gradient': None, 
  24.             'Texture': None
  25.             }
  26.         }
  27.  
  28. def Do(Environment):
  29.     App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())
  30.  
  31.